/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package au.edu.swin.swinvehicle.bookingtype;

import java.util.List;
import javax.ejb.Remote;

/**
 * BookingTypeRemote
 * ----------------
 * This is the remote interface of Booking Type
 *
 *
 * @author Dany Gunawan
 */
@Remote
public interface BookingTypeManagerRemote {

    public void addBookingType(BookingTypeDetailedTO to) throws BookingTypeManagerException;

    public void editBookingType(BookingTypeDetailedTO to) throws BookingTypeManagerException;

    public void deleteBookingType(Long id) throws BookingTypeManagerException;

    public List<BookingTypeTO> getAllBookingTypes() throws BookingTypeManagerException;

    public List<BookingTypeDetailedTO> getAllDetailedBookingTypes() throws BookingTypeManagerException;

    public BookingTypeDetailedTO getBookingType(Long id) throws BookingTypeManagerException;
}
